import request from '@/utils/request'

// 问题类型选择
export function selectQaType() {
  return request({
    url: '/consult/qaType/selectlist',
    method: 'get'
  })
}

// 咨询老师
export function selectTeacherList() {
  return request({
    url: '/consult/scheduling/selectTeacherList',
    method: 'get'
  })
}

export function selectSubjectList() {
  return request({
    url: '/consult/subject/selectlist',
    method: 'get'
  })
}

export function isUserTeacher() {
  return request({
    url: '/consult/scheduling/isUserTeacher',
    method: 'get'
  })
}


// 选择日期周
export function selectDate(date) {
  return request({
    url: '/consult/scheduling/selectDate?date=' + date,
    method: 'get'
  })
}

// 当时日期周
export function selectNowDate() {
  return request({
    url: '/consult/scheduling/selectNowDate',
    method: 'get'
  })
}

// 上一周
export function perWeek(date) {
  return request({
    url: '/consult/scheduling/perWeek?date=' + date,
    method: 'get'
  })
}

// 下一周
export function nextWeek(date) {
  return request({
    url: '/consult/scheduling/nexWeek?date=' + date,
    method: 'get'
  })
}


